package com.um.jdy.app.device.entity.dto;

import com.um.springboot.starter.entity.dto.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Title
 * @Description
 * @Author renjunwei
 * @Date 2023/2/16 14:09
 */
@Data
public class DeviceStationListQuery extends PageQuery {

    @ApiModelProperty(value = "类型：All-全部网点、Available-可充网点 Returnable-可还(充电宝)")
    private Type type;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "名称")
    private String name;

    public enum Type {
        All,
        Available,
        Returnable
    }
}
